package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.TheMessage;
import com.nys.cqhttp.model.TheMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TheMessageMapper {
    long countByExample(TheMessageExample example);

    int deleteByExample(TheMessageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TheMessage record);

    int insertSelective(TheMessage record);

    List<TheMessage> selectByExample(TheMessageExample example);

    TheMessage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TheMessage record, @Param("example") TheMessageExample example);

    int updateByExample(@Param("record") TheMessage record, @Param("example") TheMessageExample example);

    int updateByPrimaryKeySelective(TheMessage record);

    int updateByPrimaryKey(TheMessage record);
}